package com.anli.Service;

import com.anli.pojo.Emp;
import com.anli.pojo.pageBean;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;


public interface EmptService {
    public pageBean page(Integer page,Integer pageSize,String name, Short gender, LocalDateTime begin, LocalDateTime end);

    void delete(List<Integer> ids);

    void save(Emp emp);

    Emp getById(Integer id);

    void update(Emp emp);

    Emp login(Emp emp);
}
